/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.team.teaching.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.team.teaching.entity.TeamTeaching;
import com.jeeplus.modules.team.teaching.mapper.TeamTeachingMapper;

/**
 * 班子（教学）Service
 * @author 刘明星
 * @version 2021-03-29
 */
@Service
@Transactional(readOnly = true)
public class TeamTeachingService extends CrudService<TeamTeachingMapper, TeamTeaching> {

	public TeamTeaching get(String id) {
		return super.get(id);
	}
	
	public List<TeamTeaching> findList(TeamTeaching teamTeaching) {
		return super.findList(teamTeaching);
	}
	
	public Page<TeamTeaching> findPage(Page<TeamTeaching> page, TeamTeaching teamTeaching) {
		return super.findPage(page, teamTeaching);
	}
	
	@Transactional(readOnly = false)
	public void save(TeamTeaching teamTeaching) {
		super.save(teamTeaching);
	}
	
	@Transactional(readOnly = false)
	public void delete(TeamTeaching teamTeaching) {
		super.delete(teamTeaching);
	}
	
}